home *** CD-ROM | disk | FTP | other *** search
- class Selection
- {
-
- function addListener(newListener) // Registers an object to receive the notifications of keyboard focus change.
- function getBeginIndex() // Returns the beginning index of the selection span.
- function getCaretIndex() // Returns the index of the insertion point position.
- function getEndIndex() // Returns the ending index of the selection span.
- function getFocus() // Returns the name of the variable for the currently focused text field, or "null" if there is no currently focused text field.
- function removeListener(listener) // Removes an object previously registered with "Selection.addListener()".
- function setFocus(instanceName) // Sets focus to the selectable text field, button, or movie clip specified by the "instanceName" parameter.
- function setSelection(start, end) // Sets the selection span of the currently focused text field.
-
- function onSetFocus() // Notifies when the input focus changes.
- }
-